package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 油厂措施管理对象 yc_measures
 * 
 * @author ruoyi
 * @date 2022-10-22
 */
public class YcMeasures_v2 extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 措施序号 */
    private Long meaId;

    /** 数据序号 */
    @Excel(name = "数据序号")
    private Long dataId;

    /** 用于检索数据序号*/
    @Excel(name = "维度值")
    private Integer dataDimension;
    @Excel(name = "维度(月/季度/年)",readConverterExp = "0=月,1=季度,2=年")
    private Integer dimension;

    /** 指标序号 */
    @Excel(name = "指标序号")
    private Long indeId;

    /** 用于检索指标序号*/
    @Excel(name = "指标名称")
    private String indeName;

    private String indeLevel;

    @Excel(name = "指标数据年份")
    private Long dataYear;

    /** 影响因素 */
    @Excel(name = "影响因素")
    private String cause;

    /** 改进措施 */
    @Excel(name = "改进措施")
    private String improvement;

    /** 数据状态 */
    @Excel(name = "数据状态")
    private Integer meaStatus;

    private Long deptId;

    public void setDeptId(Long deptId){ this.deptId = deptId;}
    public Long getDeptId(){return deptId;}


    private YcInde ycInde;

    private YcData ycData;

    public String getIndeLevel() {
        return indeLevel;
    }

    public void setIndeLevel(String indeLevel) {
        this.indeLevel = indeLevel;
    }

    public YcData getYcData() {
        return ycData;
    }

    public void setYcData(YcData ycData) {
        this.ycData = ycData;
    }

    public YcInde getYcInde()
    {
        return ycInde;
    }

    public void setDimension(Integer dimension){
        this.dimension = dimension;
    }

    public void setDataDimension(Integer dataDimension) {
        this.dataDimension = dataDimension;
    }

    public void setIndeName(String indeName) {
        this.indeName = indeName;
    }

    public void setDataYear(Long dataYear) {
        this.dataYear = dataYear;
    }

    public Integer getDimension(){
        return dimension;
    }

    public Integer getDataDimension() {
        return dataDimension;
    }

    public String getIndeName() {
        return indeName;
    }

    public Long getDataYear() {
        return dataYear;
    }


    public void setYcInde(YcInde ycInde)
    {
        this.ycInde =ycInde;
    }

    public void setMeaId(Long meaId) 
    {
        this.meaId = meaId;
    }

    public Long getMeaId() 
    {
        return meaId;
    }
    public void setDataId(Long dataId) 
    {
        this.dataId = dataId;
    }

    public Long getDataId() 
    {
        return dataId;
    }
    public void setIndeId(Long indeId) 
    {
        this.indeId = indeId;
    }

    public Long getIndeId() 
    {
        return indeId;
    }
    public void setcause(String cause)
    {
        this.cause = cause;
    }

    public String getcause()
    {
        return cause;
    }
    public void setImprovement(String improvement) 
    {
        this.improvement = improvement;
    }

    public String getImprovement() 
    {
        return improvement;
    }
    public void setMeaStatus(Integer meaStatus) 
    {
        this.meaStatus = meaStatus;
    }

    public Integer getMeaStatus() 
    {
        return meaStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("meaId", getMeaId())
            .append("dataId", getDataId())
            .append("indeId", getIndeId())
            .append("cause", getcause())
            .append("improvement", getImprovement())
            .append("meaStatus", getMeaStatus())
            .append("createTime", getCreateTime())
            .append("ycInde",getYcInde())
            .append("deptId",getDeptId())
            .append("dimension",getDimension())
            .append("dataDimension",getDataDimension())
            .append("indeName",getIndeName())
            .append("dataYear",getDataYear())
            .append("ycData",getYcData())
            .append("indeLevel",getIndeLevel())
            .toString();
    }
}
